package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    //1：添加购物车
    void add(ShoppingCartDTO shoppingCartDTO);

    //2：查看购物车
    List<ShoppingCart> showShoppingCart();

    //3：清空购物车
    void cleanShoppingCart();

    //4：删除购物车中的一个商品
    void deleteShoppingOne(ShoppingCartDTO shoppingCartDTO);
}
